﻿using System;

using SharedGenomics.Core;
using SharedGenomics.Annotations;

namespace SharedGenomics.Workbench.Annotations
{
    public class AnnotationArtifact
    {
        public AnnotationArtifact(AnnotationKey key, object value, AnnotationValue parentValue)
        {
            value.ThrowIfNull("value");
            key.ThrowIfNull("key");

            this.Key = key;
            this.Value = value;
            this.ParentValue = parentValue;
        }

        public AnnotationKey Key { get; private set; }
        public object Value { get; private set; }
        public AnnotationValue ParentValue { get; private set; }
    }
}
